/*
 * @Author: songxiang songxiang0806@qq.com
 * @Date: 2025-08-26 22:31:39
 * @LastEditors: songxiang songxiang0806@qq.com
 * @LastEditTime: 2025-08-26 22:31:54
 * @FilePath: \sdc-supermap-webgl\src\utils\common.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * viewer的鼠标选择状态
 * @param viewer
 */
export function selectCursor(viewer: any) {
  viewer.enableCursorStyle = false
  viewer.canvas.style.cursor = 'default'
}
/**
 * 恢复鼠标默认状态
 * @param viewer
 */
export function defaultCursor(viewer: any) {
  viewer.enableCursorStyle = true
  viewer.canvas.style.cursor = ''
}
